TARGET = GPSBabel
CONFIG += console
CONFIG -= app_bundle
+CONFIG += c++11
TEMPLATE = app
vpl.cc teletype.cc jogmap.cc bushnell.cc bushnell_trl.cc wintec_tes.cc \
subrip.cc garmin_xt.cc garmin_fit.cc lowranceusr4.cc \
mtk_locus.cc googledir.cc mapbar_track.cc mapfactor.cc f90g_track.cc \
- energympro.cc mynav.cc ggv_bin.cc globalsat_sport.cc
+ energympro.cc mynav.cc ggv_bin.cc globalsat_sport.cc geojson.cc
DEPRECIATED_FMTS=cetus.cc copilot.cc gpspilot.cc magnav.cc psp.cc gcdb.cc quovadis.cc gpilots.cc geoniche.cc palmdoc.cc hsa_ndv.cc coastexp.cc pathaway.cc coto.cc msroute.cc mag_pdb.cc axim_gpb.cc delbin.cc google.cc
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for GPSBabel 1.5.3.
+# Generated by GNU Autoconf 2.69 for GPSBabel 1.5.4.
#
# Report bugs to <BUG-REPORT-ADDRESS>.
#
# Identity of this package.
PACKAGE_NAME='GPSBabel'
PACKAGE_TARNAME='gpsbabel'
-PACKAGE_VERSION='1.5.3'
-PACKAGE_STRING='GPSBabel 1.5.3'
+PACKAGE_VERSION='1.5.4'
+PACKAGE_STRING='GPSBabel 1.5.4'
PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
PACKAGE_URL=''
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures GPSBabel 1.5.3 to adapt to many kinds of systems.
+\`configure' configures GPSBabel 1.5.4 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of GPSBabel 1.5.3:";;
+ short | recursive ) echo "Configuration of GPSBabel 1.5.4:";;
esac
cat <<\_ACEOF
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-GPSBabel configure 1.5.3
+GPSBabel configure 1.5.4
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by GPSBabel $as_me 1.5.3, which was
+It was created by GPSBabel $as_me 1.5.4, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
ac_compiler_gnu=$ac_cv_c_compiler_gnu
-DOCVERSION=1.5.3
+DOCVERSION=1.5.4
# YYYYMMDD, please, if beta, i.e. "-beta20060413"
#DOCVERSION=development
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by GPSBabel $as_me 1.5.3, which was
+This file was extended by GPSBabel $as_me 1.5.4, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-GPSBabel config.status 1.5.3
+GPSBabel config.status 1.5.4
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
AC_PREREQ(2.59)
#PACKAGE_RELEASE=
-AC_INIT(GPSBabel, 1.5.3, BUG-REPORT-ADDRESS)
-DOCVERSION=1.5.3
+AC_INIT(GPSBabel, 1.5.4, BUG-REPORT-ADDRESS)
+DOCVERSION=1.5.4
# YYYYMMDD, please, if beta, i.e. "-beta20060413"
#DOCVERSION=development
*
* Isn't simplification via automation grand?
*/
-#define VERSION "1.5.3"
-#define WEB_DOC_DIR "http://www.gpsbabel.org/htmldoc-1.5.3"
+#define VERSION "1.5.4"
+#define WEB_DOC_DIR "http://www.gpsbabel.org/htmldoc-1.5.4"
QDateTime now = QDateTime::currentDateTime();
if ((babelData_.runCount_ == 1) ||
- (babelData_.runCount_ > 5) && (babelData_.donateSplashed_.daysTo(now) > 30)) {
+ ((babelData_.runCount_ > 5) && (babelData_.donateSplashed_.daysTo(now) > 30))) {
Donate donate(0);
if (babelData_.donateSplashed_.date() == QDate(2010,1,1))
donate.showNever(false);
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)\r
AppId={{1B8FE958-A304-4902-BF7A-4E2F0F5B7017}\r
AppName=GPSBabel\r
-AppVerName=GPSBabel 1.5.3\r
+AppVerName=GPSBabel 1.5.4\r
AppPublisher=GPSBabel\r
AppPublisherURL=http://www.gpsbabel.org\r
AppSupportURL=http://www.gpsbabel.org\r
DefaultDirName={pf}\GPSBabel\r
DefaultGroupName=GPSBabel\r
OutputDir=release\r
-OutputBaseFilename=GPSBabel-1.5.3-Setup\r
+OutputBaseFilename=GPSBabel-1.5.4-Setup\r
SetupIconFile=images\babel2.ico\r
Compression=lzma\r
SolidCompression=yes\r
QObject(parent),
manager_(0),
replyId_(0),
- upgradeUrl_(QUrl("https://www.gpsbabel.org/upgrade_check.html")),
+ upgradeUrl_(QUrl("http://www.gpsbabel.org/upgrade_check.html")),
formatList_(formatList),
updateStatus_(updateUnknown),
babelData_(bd)
case QSysInfo::WV_6_1: return "7"; break;
case QSysInfo::WV_6_2: return "8"; break;
case QSysInfo::WV_6_3: return "8.1"; break;
- case QSysInfo::WV_10_0: return "10"; break;
+// case QSysInfo::WV_10_0: return "10"; break;
default:
if (QSysInfo::WindowsVersion == 0x00a0) return "8";
if (QSysInfo::WindowsVersion == 0x00b0) return "8.1";
}
replyId_ = manager_->post(request, args.toUtf8());
-
return UpgradeCheck::updateUnknown;
}
QDomElement upgrade = upgradeNode.toElement();
QString updateVersion = upgrade.attribute("version");
if (upgrade.attribute("downloadURL").isEmpty()) {
- downloadUrl = "https://www.gpsbabel.org/download.html";
+ downloadUrl = "http://www.gpsbabel.org/download.html";
} else {
downloadUrl = upgrade.attribute("downloadURL");
}
#include <errno.h>
#include <math.h>
#include <stdlib.h>
+#if __WIN32__
+#include <io.h>
+#else
+#include <unistd.h>
+#endif
#define MYNAME "mtk_logger"
}
}
if (dout != NULL) {
+#if __WIN32__
+ _chsize(fileno(dout), addr_max);
+#else
ftruncate(fileno(dout), addr_max);
+#endif
fclose(dout);
}
if (global_opts.verbose_status || (global_opts.debug_level >= 2 && global_opts.debug_level < 5)) {